.page_c {
    padding: 20rpx 20rpx 0;
}

.preferential {
    .goods_c {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        .good {
            box-sizing: border-box;
            margin-bottom: 20rpx;
            width: 346rpx;
            padding: 10rpx;
            border-radius: 20rpx;
            background-color: #fff;

            .image {
                position: relative;
                flex-shrink: 0;
                width: 326rpx;
                height: 326rpx;
                border-radius: 10rpx;
                overflow: hidden;

                .sold_out {
                    position: absolute;
                    z-index: 1;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background-color: rgba($color: #000, $alpha: 0.4);
                    color: #F6F6F6;
                    font-size: 32rpx;
                    font-weight: bold;
                }
            }

            .body {
                padding: 0 10rpx;
            }

            .name {
                margin-top: 10rpx;
            }

            .norm {
                margin-top: 8rpx;
                font-size: 24rpx;
                color: #9B999A;
            }

            .stock {
                margin-top: 8rpx;
                font-size: 24rpx;
                color: #9B999A;
            }

            .bottom {
                display: flex;
                padding-top: 4rpx;

                .price_c {
                    flex: 1;
                    padding: 4rpx 20rpx 0 0;
                    color: var(--themColorRed);
                }

                .unit {
                    font-size: 26rpx;
                }

                .add_cart_icon {
                    width: 40rpx;
                    height: 40rpx;
                }
            }
        }
    }
}

.recommend {
    .goods_c {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        .good {
            margin-bottom: 20rpx;
            width: 346rpx;
            border-radius: 20rpx;
            background-color: #fff;

            .image {
                position: relative;
                flex-shrink: 0;
                width: 346rpx;
                height: 346rpx;
                border-top-left-radius: 10rpx;
                border-top-right-radius: 10rpx;
                overflow: hidden;

                .sold_out {
                    position: absolute;
                    z-index: 1;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background-color: rgba($color: #000, $alpha: 0.4);
                    color: #F6F6F6;
                    font-size: 32rpx;
                    font-weight: bold;
                }
            }

            .body {
                padding: 10rpx 20rpx 20rpx;
            }

            .row {
                display: flex;
                align-items: center;

                .last_child {
                    flex: 1;
                    display: flex;
                    justify-content: flex-end;
                    padding-left: 10rpx;
                }
            }

            .name {
                font-size: 32rpx;
                font-weight: bold;
            }



            .row2 {
                margin: 10rpx 0;

                .item {
                    font-size: 24rpx;
                    color: #9F9F9F;
                }

                .middle {
                    margin-left: 20rpx;
                }
            }

            .supplier {
                display: flex;
                align-items: center;
                color: #9F9F9F;

                .text {
                    margin: 0 8rpx;
                    font-size: 24rpx;
                }

                .icon {
                    width: 24rpx;
                    height: 24rpx;
                }
            }


            .bottom {
                display: flex;
                align-items: center;
                padding-top: 14rpx;

                .price_c {
                    flex: 1;
                    padding: 4rpx 20rpx 0 0;
                    font-size: 32rpx;
                    font-weight: 600;
                    color: var(--themColorRed);

                }

                .unit {
                    font-size: 28rpx;
                }

                .add_cart_icon {
                    width: 48rpx;
                    height: 48rpx;
                }
            }
        }
    }
}

.video_look {
    margin-bottom: 20rpx;

    .goods_c {
        padding: 0 20rpx;
        border-radius: 20rpx;
        background-color: #fff;
    }

    .good {
        display: flex;
        align-items: center;
        padding: 20rpx 0;
        border-bottom: 2rpx solid var(--borderColor);


        .image {
            position: relative;
            flex-shrink: 0;
            width: 226rpx;
            height: 226rpx;
            border-radius: 10rpx;
            overflow: hidden;

            .video_mask {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                z-index: 1;
            }

            .video {
                width: 100%;
                height: 100%;
                border-radius: 10rpx;
                overflow: hidden;
            }
        }

        .right {
            flex: 1;
            padding-left: 20rpx;
        }

        .supplier_c {
            margin-bottom: 20rpx;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-bottom: 10rpx;
            border-bottom: 2rpx solid var(--borderColor);
        }

        .supplier {
            display: flex;
            align-items: center;
            color: #515151;

            .text {
                margin: 0 8rpx;
            }

            .icon {
                width: 28rpx;
                height: 28rpx;
            }
        }

        .row1 {
            margin: 4rpx 0 8rpx;
            display: flex;
            font-weight: bold;
        }

        .second {
            padding: 0 20rpx;
        }

        .progress_c {
            display: flex;
            align-items: center;
            margin: 16rpx 0 20rpx;

            .progress {
                position: relative;
                width: 100%;
                height: 24rpx;
                background-color: #D3FDF9;
                border-radius: 14rpx;
                overflow: hidden;

                .now {
                    position: absolute;
                    left: 0;
                    top: 0;
                    height: 100%;
                    border-radius: 14rpx;
                    background-color: var(--themColor);
                }

                .text {
                    box-sizing: border-box;
                    position: absolute;
                    left: 0;
                    top: 0;
                    padding-left: 10rpx;
                    width: 100%;
                    height: 100%;
                    color: #FFAB1C;
                    font-size: 20rpx;
                    line-height: 24rpx;
                }
            }
        }

        .bottom_bar {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;

            .price_c {
                display: flex;
                align-items: baseline;
            }

            .price {
                font-size: 38rpx;
                font-weight: 600;
                color: var(--themColorRed);
            }

            .old_price {
                margin-left: 10rpx;
                text-decoration: line-through;
                color: var(--themColorGrey);
                font-weight: 500;
            }

            .button {
                padding: 12rpx 30rpx;
                border-radius: 8rpx;
                background: linear-gradient(180deg, #51A993 0%, #0D776E 100%);
                color: #fff;
            }
        }
    }
}